package com.lixueju.security.box.web.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lixueju.security.box.core.model.AuthRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lixueju.security.box.core.model.request.UpdatePermissionRequest;

/**
 * <p>
 * 储存角色信息 服务类
 * </p>
 *
 * @author lixueju
 * @since 2019-11-13
 */
public interface IAuthRoleService extends IService<AuthRole> {
    IPage<AuthRole> selectAuthRolePage(Page<AuthRole> page, AuthRole authRole);

    Boolean updatePermission(UpdatePermissionRequest updatePermissionRequest);

    Boolean deleteAuthRole(AuthRole authRole);
}
